package top.lixunda.books3.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping(value = "/test")
public class TestController {

    @RequestMapping(value = "/page/{pageName}")
    public String testPage(@PathVariable(value = "pageName") String path){
        return path;
    }

}
